package xyz.mumuwei.youthcourseserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import xyz.mumuwei.youthcourseserver.pojo.UserInfo;

import java.util.List;

/**
 * @author mumuwei
 * @since 2022-02-19
 */
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    /**
     * 根据课程id获取教师列表
     * @param courseId 课程id
     * @return 教师列表
     */
    List<UserInfo> getByCourseId(Integer courseId);
}
